WPForms\Requirements\Requirements C

Total Complexity 110
Dependencies 0
Dependents 2
Total lines 1,196
Lines of code 410
Logical lines of code 222
Comment lines 469
Methods 33
Properties 6

Methods 33

Method Rating Maintainability Complexity Lines of code
get_notices()
A
46 8 39
validate()
A
52 8 24
validate_addon()
S
56 7 18
deactivate()
S
56 6 19
normalize_version_requirement()
S
53 5 23
validate_wpforms()
S
58 5 17
normalize_array_requirement()
S
59 4 16
get_addon_load_function()
S
57 4 16
validate_wp()
S
59 4 15
deactivate_not_valid_addon()
S
60 4 15
validate_php()
S
60 4 14
list_version_detailed()
S
55 3 19
get_ext_validation_message()
S
59 3 15
init_addon_requirements()
S
59 3 14
get_license_validation_message()
S
60 3 13
validate_license()
S
63 3 11
is_wpforms_addon()
S
64 3 8
validate_ext()
S
65 3 9
version_compare()
S
63 3 10
get_addon_validation_message()
S
64 3 9
get_php_validation_message()
S
69 3 6
get_wp_validation_message()
S
69 3 6
get_wpforms_validation_message()
S
69 3 6
get_validation_message()
S
61 2 13
list_version()
S
66 2 8
get_instance()
S
68 2 8
show_notices()
S
74 2 5
init()
S
71 2 6
show_notice()
S
74 1 5
merge_requirements()
S
64 1 10
hooks()
S
72 1 5
get_compare_array()
S
72 1 5
get_requirements()
S
82 1 3